overloading of a stored function in postgreSQL